package github.flandre.examplemod.core.init;

import github.flandre.examplemod.common.enchantment.ExampleEnchantment;
import github.flandre.examplemod.examplemod;
import net.minecraft.enchantment.Enchantment;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class EnchantmentInit {
    public static final DeferredRegister<Enchantment> ENCHANTS = DeferredRegister.create(ForgeRegistries.ENCHANTMENTS, examplemod.MODID);

    public static final RegistryObject<Enchantment> EXAMPLE_ENCHANTMENT =
            ENCHANTS.register("example_enchantment", ExampleEnchantment::new);
    //给附魔添加效果通过RegisterEnchment
}
